<template>
  <div v-if="text" class="page-tip">
    <i class="el-icon-info tip-icon" />
    {{ text }}</div>
</template>

<script>
export default {
  props: {
    text: String
  }
}
</script>

<style lang="less" scoped>
.page-tip {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #666;
}
.tip-icon {
  margin-right: 2px;
}
</style>
